package com.example.dormlist.dorm;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Repository
@Transactional(readOnly = true)
public interface DormListRepository extends JpaRepository<DormList, Long> {
    @Override
    List<DormList> findAll();
}
